package com.hwp.mybatisplus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Data;

/**
 * <p>
 * 用户信息表
 * </p>
 *
 * @author hwp
 * @since 2023-02-13
 */
@TableName("sys_user")

@Data
public class User implements Serializable {

    private static final long serialVersionUID = 1L;


    @TableId(value = "user_id", type = IdType.AUTO)
    private Long userId;


    private Long deptId;


    private String userName;


    private String nickName;


    private String userType;


    private String email;


    private String phonenumber;


    private String sex;


    private String avatar;


    private String password;


    private String status;


    private String delFlag;


    private String loginIp;


    private LocalDateTime loginDate;


    private String createBy;


    private LocalDateTime createTime;


    private String updateBy;


    private LocalDateTime updateTime;


    private String remark;

}


